<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<jsp:include page="head.htm" />
</head>
<body>
	<div id="head">
		<h1>Autovermietung München</h1>
	</div>
	<jsp:include page="admin-menu.htm" />
	<div id="content">
		<h2>
			<c:out value="${title}" />
		</h2>
		<p>
			<c:out value="${message}" />
		</p>
		<table class="listing">
			<colgroup>
				<col class="buttoncell" />
				<col class="buttoncell" />
				<col />
				<col />
			</colgroup>
			<tbody>
				<tr>
					<th></th>
					<th></th>
					<th>ID</th>
					<th>Straße</th>
					<th>Plz</th>
					<th>Ort</th>
					<th>Google</th>
				</tr>
				<c:forEach items="${stationen}" var="station">
					<tr>
					
						<td><a
							href="SetStation.html?id=<c:out value="${station.id}"/>"> <img
								src="images/button_edit.png" alt="Icon - Bearbeite Station" />
						</a></td>
						<td><a
							href="DeleteStation.html?id=<c:out value="${station.id}"/>">
								<img src="images/button_drop.png" alt="Icon - Lösche Station" />
						</a></td>
						<td><c:out value="${station.id}" /></td>
						<td><c:out value="${station.strasse}" /></td>
						<td><c:out value="${station.plz}" /></td>
						<td><c:out value="${station.ort}" /></td>

						<td><a
							href="http://maps.google.de/maps?q=<c:out value="${station.google}"/>"
							target="_blank"><c:out value="${station.google}" /></a></td>
					</tr>
				</c:forEach>
			</tbody>
		</table>
		<br></br>
		 <img src=${google}>
	</div>
</body>
</html>
